-
Notifications
You must be signed in to change notification settings - Fork 828
Support (module definition ...) and (module instance ...) in WAST spec tests #8058
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support (module definition ...) and (module instance ...) in WAST spec tests #8058
Conversation
2480082 to
7b98b2e
Compare
tlively
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few initial comments while this is still under construction.
7b98b2e to
616165c
Compare
|
(Sorry for the force-push, I already made these changes locally before your comments) |
616165c to
e5c9ab4
Compare
For use in #8058. In some cases (e.g. for parsing `(module definition ...)`), we want to parse the body of a module without the initial `(module name? ...)` S-expression. `parseModule` parses *either* the full `(module ...)` S-expression or just the module body since some cases consist only of a module body. Add `parseModuleBody` which only parses the module body.
tlively
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
(module definition ...)and(module instance ...)in WAST spec tests